package com.muyi.pojo.entity;

import java.util.Date;

public class Comment {
    /**
     * 
     */
    private Integer comment_id;

    /**
     * 
     */
    private Integer paper_id;

    /**
     * 
     */
    private Integer user_id;

    /**
     * 
     */
    private Date publish_date;

    /**
     * 
     */
    private Integer like_count;

    /**
     * 
     */
    private Integer favorite_count;

    /**
     * 
     */
    private String content;


    public Comment(Integer paper_id, Integer user_id, Date publish_date, Integer like_count, Integer favorite_count, String content) {
        this.paper_id = paper_id;
        this.user_id = user_id;
        this.publish_date = publish_date;
        this.like_count = like_count;
        this.favorite_count = favorite_count;
        this.content = content;
    }

    public Comment(Integer comment_id, Integer paper_id, Integer user_id, Date publish_date, Integer like_count, Integer favorite_count, String content) {
        this.comment_id = comment_id;
        this.paper_id = paper_id;
        this.user_id = user_id;
        this.publish_date = publish_date;
        this.like_count = like_count;
        this.favorite_count = favorite_count;
        this.content = content;
    }

    public Comment() {

    }

    /**
     * 获取
     * @return comment_id
     */
    public Integer getComment_id() {
        return comment_id;
    }

    /**
     * 设置
     * @param comment_id
     */
    public void setComment_id(Integer comment_id) {
        this.comment_id = comment_id;
    }

    /**
     * 获取
     * @return paper_id
     */
    public Integer getPaper_id() {
        return paper_id;
    }

    /**
     * 设置
     * @param paper_id
     */
    public void setPaper_id(Integer paper_id) {
        this.paper_id = paper_id;
    }

    /**
     * 获取
     * @return user_id
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return publish_date
     */
    public Date getPublish_date() {
        return publish_date;
    }

    /**
     * 设置
     * @param publish_date
     */
    public void setPublish_date(Date publish_date) {
        this.publish_date = publish_date;
    }

    /**
     * 获取
     * @return like_count
     */
    public Integer getLike_count() {
        return like_count;
    }

    /**
     * 设置
     * @param like_count
     */
    public void setLike_count(Integer like_count) {
        this.like_count = like_count;
    }

    /**
     * 获取
     * @return favorite_count
     */
    public Integer getFavorite_count() {
        return favorite_count;
    }

    /**
     * 设置
     * @param favorite_count
     */
    public void setFavorite_count(Integer favorite_count) {
        this.favorite_count = favorite_count;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    public String toString() {
        return "Comment{comment_id = " + comment_id + ", paper_id = " + paper_id + ", user_id = " + user_id + ", publish_date = " + publish_date + ", like_count = " + like_count + ", favorite_count = " + favorite_count + ", content = " + content + "}";
    }
}